<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>登录</title>
</head>
<body>
    <form method="post">
        {% csrf_token %}
        <input type="text" name="user" placeholder="请输入用户名:">
        <input type="password" name="password" placeholder="请输入密码:">
        <input type="submit" value="提交"><span>{{ msg }}</span>
    </form>
</body>
</html>